{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 0 w: 1.0933333333333333 loss: 3.3333333333333335\n",
      "Epoch: 1 w: 1.1779555555555554 loss: 3.3333333333333335\n",
      "Epoch: 2 w: 1.2546797037037036 loss: 3.3333333333333335\n",
      "Epoch: 3 w: 1.3242429313580246 loss: 3.3333333333333335\n",
      "Epoch: 4 w: 1.3873135910979424 loss: 3.3333333333333335\n",
      "Epoch: 5 w: 1.4444976559288012 loss: 3.3333333333333335\n",
      "Epoch: 6 w: 1.4963445413754464 loss: 3.3333333333333335\n",
      "Epoch: 7 w: 1.5433523841804047 loss: 3.3333333333333335\n",
      "Epoch: 8 w: 1.5859728283235668 loss: 3.3333333333333335\n",
      "Epoch: 9 w: 1.6246153643467005 loss: 3.3333333333333335\n",
      "Epoch: 10 w: 1.659651263674342 loss: 3.3333333333333335\n",
      "Epoch: 11 w: 1.6914171457314033 loss: 3.3333333333333335\n",
      "Epoch: 12 w: 1.7202182121298057 loss: 3.3333333333333335\n",
      "Epoch: 13 w: 1.7463311789976905 loss: 3.3333333333333335\n",
      "Epoch: 14 w: 1.7700069356245727 loss: 3.3333333333333335\n",
      "Epoch: 15 w: 1.7914729549662791 loss: 3.3333333333333335\n",
      "Epoch: 16 w: 1.8109354791694263 loss: 3.3333333333333335\n",
      "Epoch: 17 w: 1.8285815011136133 loss: 3.3333333333333335\n",
      "Epoch: 18 w: 1.8445805610096762 loss: 3.3333333333333335\n",
      "Epoch: 19 w: 1.8590863753154396 loss: 3.3333333333333335\n",
      "Epoch: 20 w: 1.872238313619332 loss: 3.3333333333333335\n",
      "Epoch: 21 w: 1.8841627376815275 loss: 3.3333333333333335\n",
      "Epoch: 22 w: 1.8949742154979183 loss: 3.3333333333333335\n",
      "Epoch: 23 w: 1.904776622051446 loss: 3.3333333333333335\n",
      "Epoch: 24 w: 1.9136641373266443 loss: 3.3333333333333335\n",
      "Epoch: 25 w: 1.9217221511761575 loss: 3.3333333333333335\n",
      "Epoch: 26 w: 1.9290280837330496 loss: 3.3333333333333335\n",
      "Epoch: 27 w: 1.9356521292512983 loss: 3.3333333333333335\n",
      "Epoch: 28 w: 1.9416579305211772 loss: 3.3333333333333335\n",
      "Epoch: 29 w: 1.9471031903392007 loss: 3.3333333333333335\n",
      "Epoch: 30 w: 1.952040225907542 loss: 3.3333333333333335\n",
      "Epoch: 31 w: 1.9565164714895047 loss: 3.3333333333333335\n",
      "Epoch: 32 w: 1.9605749341504843 loss: 3.3333333333333335\n",
      "Epoch: 33 w: 1.9642546069631057 loss: 3.3333333333333335\n",
      "Epoch: 34 w: 1.9675908436465492 loss: 3.3333333333333335\n",
      "Epoch: 35 w: 1.970615698239538 loss: 3.3333333333333335\n",
      "Epoch: 36 w: 1.9733582330705144 loss: 3.3333333333333335\n",
      "Epoch: 37 w: 1.975844797983933 loss: 3.3333333333333335\n",
      "Epoch: 38 w: 1.9780992835054327 loss: 3.3333333333333335\n",
      "Epoch: 39 w: 1.980143350378259 loss: 3.3333333333333335\n",
      "Epoch: 40 w: 1.9819966376762883 loss: 3.3333333333333335\n",
      "Epoch: 41 w: 1.983676951493168 loss: 3.3333333333333335\n",
      "Epoch: 42 w: 1.9852004360204722 loss: 3.3333333333333335\n",
      "Epoch: 43 w: 1.9865817286585614 loss: 3.3333333333333335\n",
      "Epoch: 44 w: 1.987834100650429 loss: 3.3333333333333335\n",
      "Epoch: 45 w: 1.9889695845897222 loss: 3.3333333333333335\n",
      "Epoch: 46 w: 1.9899990900280147 loss: 3.3333333333333335\n",
      "Epoch: 47 w: 1.9909325082920666 loss: 3.3333333333333335\n",
      "Epoch: 48 w: 1.9917788075181404 loss: 3.3333333333333335\n",
      "Epoch: 49 w: 1.9925461188164473 loss: 3.3333333333333335\n",
      "Epoch: 50 w: 1.9932418143935788 loss: 3.3333333333333335\n",
      "Epoch: 51 w: 1.9938725783835114 loss: 3.3333333333333335\n",
      "Epoch: 52 w: 1.994444471067717 loss: 3.3333333333333335\n",
      "Epoch: 53 w: 1.9949629871013967 loss: 3.3333333333333335\n",
      "Epoch: 54 w: 1.9954331083052663 loss: 3.3333333333333335\n",
      "Epoch: 55 w: 1.9958593515301082 loss: 3.3333333333333335\n",
      "Epoch: 56 w: 1.9962458120539648 loss: 3.3333333333333335\n",
      "Epoch: 57 w: 1.9965962029289281 loss: 3.3333333333333335\n",
      "Epoch: 58 w: 1.9969138906555615 loss: 3.3333333333333335\n",
      "Epoch: 59 w: 1.997201927527709 loss: 3.3333333333333335\n",
      "Epoch: 60 w: 1.9974630809584561 loss: 3.3333333333333335\n",
      "Epoch: 61 w: 1.9976998600690001 loss: 3.3333333333333335\n",
      "Epoch: 62 w: 1.9979145397958935 loss: 3.3333333333333335\n",
      "Epoch: 63 w: 1.9981091827482769 loss: 3.3333333333333335\n",
      "Epoch: 64 w: 1.9982856590251044 loss: 3.3333333333333335\n",
      "Epoch: 65 w: 1.9984456641827613 loss: 3.3333333333333335\n",
      "Epoch: 66 w: 1.9985907355257035 loss: 3.3333333333333335\n",
      "Epoch: 67 w: 1.9987222668766378 loss: 3.3333333333333335\n",
      "Epoch: 68 w: 1.9988415219681517 loss: 3.3333333333333335\n",
      "Epoch: 69 w: 1.9989496465844576 loss: 3.3333333333333335\n",
      "Epoch: 70 w: 1.9990476795699081 loss: 3.3333333333333335\n",
      "Epoch: 71 w: 1.9991365628100501 loss: 3.3333333333333335\n",
      "Epoch: 72 w: 1.999217150281112 loss: 3.3333333333333335\n",
      "Epoch: 73 w: 1.999290216254875 loss: 3.3333333333333335\n",
      "Epoch: 74 w: 1.9993564627377531 loss: 3.3333333333333335\n",
      "Epoch: 75 w: 1.9994165262155628 loss: 3.3333333333333335\n",
      "Epoch: 76 w: 1.999470983768777 loss: 3.3333333333333335\n",
      "Epoch: 77 w: 1.9995203586170245 loss: 3.3333333333333335\n",
      "Epoch: 78 w: 1.9995651251461022 loss: 3.3333333333333335\n",
      "Epoch: 79 w: 1.9996057134657994 loss: 3.3333333333333335\n",
      "Epoch: 80 w: 1.9996425135423248 loss: 3.3333333333333335\n",
      "Epoch: 81 w: 1.999675878945041 loss: 3.3333333333333335\n",
      "Epoch: 82 w: 1.999706130243504 loss: 3.3333333333333335\n",
      "Epoch: 83 w: 1.9997335580874436 loss: 3.3333333333333335\n",
      "Epoch: 84 w: 1.9997584259992822 loss: 3.3333333333333335\n",
      "Epoch: 85 w: 1.9997809729060159 loss: 3.3333333333333335\n",
      "Epoch: 86 w: 1.9998014154347876 loss: 3.3333333333333335\n",
      "Epoch: 87 w: 1.9998199499942075 loss: 3.3333333333333335\n",
      "Epoch: 88 w: 1.9998367546614149 loss: 3.3333333333333335\n",
      "Epoch: 89 w: 1.9998519908930161 loss: 3.3333333333333335\n",
      "Epoch: 90 w: 1.9998658050763347 loss: 3.3333333333333335\n",
      "Epoch: 91 w: 1.9998783299358769 loss: 3.3333333333333335\n",
      "Epoch: 92 w: 1.9998896858085284 loss: 3.3333333333333335\n",
      "Epoch: 93 w: 1.9998999817997325 loss: 3.3333333333333335\n",
      "Epoch: 94 w: 1.9999093168317574 loss: 3.3333333333333335\n",
      "Epoch: 95 w: 1.9999177805941268 loss: 3.3333333333333335\n",
      "Epoch: 96 w: 1.9999254544053418 loss: 3.3333333333333335\n",
      "Epoch: 97 w: 1.9999324119941766 loss: 3.3333333333333335\n",
      "Epoch: 98 w: 1.9999387202080534 loss: 3.3333333333333335\n",
      "Epoch: 99 w: 1.9999444396553017 loss: 3.3333333333333335\n",
      "Epoch: 100 w: 1.9999496252874736 loss: 3.3333333333333335\n",
      "Epoch: 101 w: 1.9999543269273095 loss: 3.3333333333333335\n",
      "Epoch: 102 w: 1.9999585897474272 loss: 3.3333333333333335\n",
      "Epoch: 103 w: 1.999962454704334 loss: 3.3333333333333335\n",
      "Epoch: 104 w: 1.9999659589319294 loss: 3.3333333333333335\n",
      "Epoch: 105 w: 1.9999691360982828 loss: 3.3333333333333335\n",
      "Epoch: 106 w: 1.9999720167291097 loss: 3.3333333333333335\n",
      "Epoch: 107 w: 1.9999746285010596 loss: 3.3333333333333335\n",
      "Epoch: 108 w: 1.9999769965076273 loss: 3.3333333333333335\n",
      "Epoch: 109 w: 1.9999791435002487 loss: 3.3333333333333335\n",
      "Epoch: 110 w: 1.9999810901068922 loss: 3.3333333333333335\n",
      "Epoch: 111 w: 1.999982855030249 loss: 3.3333333333333335\n",
      "Epoch: 112 w: 1.9999844552274257 loss: 3.3333333333333335\n",
      "Epoch: 113 w: 1.999985906072866 loss: 3.3333333333333335\n",
      "Epoch: 114 w: 1.9999872215060652 loss: 3.3333333333333335\n",
      "Epoch: 115 w: 1.999988414165499 loss: 3.3333333333333335\n",
      "Epoch: 116 w: 1.9999894955100526 loss: 3.3333333333333335\n",
      "Epoch: 117 w: 1.9999904759291143 loss: 3.3333333333333335\n",
      "Epoch: 118 w: 1.999991364842397 loss: 3.3333333333333335\n",
      "Epoch: 119 w: 1.99999217079044 loss: 3.3333333333333335\n",
      "Epoch: 120 w: 1.9999929015166655 loss: 3.3333333333333335\n",
      "Epoch: 121 w: 1.9999935640417768 loss: 3.3333333333333335\n",
      "Epoch: 122 w: 1.999994164731211 loss: 3.3333333333333335\n",
      "Epoch: 123 w: 1.999994709356298 loss: 3.3333333333333335\n",
      "Epoch: 124 w: 1.9999952031497101 loss: 3.3333333333333335\n",
      "Epoch: 125 w: 1.9999956508557373 loss: 3.3333333333333335\n",
      "Epoch: 126 w: 1.9999960567758686 loss: 3.3333333333333335\n",
      "Epoch: 127 w: 1.9999964248101207 loss: 3.3333333333333335\n",
      "Epoch: 128 w: 1.9999967584945095 loss: 3.3333333333333335\n",
      "Epoch: 129 w: 1.999997061035022 loss: 3.3333333333333335\n",
      "Epoch: 130 w: 1.99999733533842 loss: 3.3333333333333335\n",
      "Epoch: 131 w: 1.9999975840401674 loss: 3.3333333333333335\n",
      "Epoch: 132 w: 1.9999978095297517 loss: 3.3333333333333335\n",
      "Epoch: 133 w: 1.9999980139736415 loss: 3.3333333333333335\n",
      "Epoch: 134 w: 1.9999981993361016 loss: 3.3333333333333335\n",
      "Epoch: 135 w: 1.9999983673980655 loss: 3.3333333333333335\n",
      "Epoch: 136 w: 1.999998519774246 loss: 3.3333333333333335\n",
      "Epoch: 137 w: 1.9999986579286497 loss: 3.3333333333333335\n",
      "Epoch: 138 w: 1.9999987831886423 loss: 3.3333333333333335\n",
      "Epoch: 139 w: 1.9999988967577025 loss: 3.3333333333333335\n",
      "Epoch: 140 w: 1.9999989997269836 loss: 3.3333333333333335\n",
      "Epoch: 141 w: 1.9999990930857985 loss: 3.3333333333333335\n",
      "Epoch: 142 w: 1.999999177731124 loss: 3.3333333333333335\n",
      "Epoch: 143 w: 1.999999254476219 loss: 3.3333333333333335\n",
      "Epoch: 144 w: 1.9999993240584386 loss: 3.3333333333333335\n",
      "Epoch: 145 w: 1.9999993871463178 loss: 3.3333333333333335\n",
      "Epoch: 146 w: 1.9999994443459947 loss: 3.3333333333333335\n",
      "Epoch: 147 w: 1.9999994962070353 loss: 3.3333333333333335\n",
      "Epoch: 148 w: 1.999999543227712 loss: 3.3333333333333335\n",
      "Epoch: 149 w: 1.9999995858597923 loss: 3.3333333333333335\n",
      "Epoch: 150 w: 1.9999996245128784 loss: 3.3333333333333335\n",
      "Epoch: 151 w: 1.9999996595583431 loss: 3.3333333333333335\n",
      "Epoch: 152 w: 1.9999996913328977 loss: 3.3333333333333335\n",
      "Epoch: 153 w: 1.9999997201418271 loss: 3.3333333333333335\n",
      "Epoch: 154 w: 1.9999997462619232 loss: 3.3333333333333335\n",
      "Epoch: 155 w: 1.9999997699441436 loss: 3.3333333333333335\n",
      "Epoch: 156 w: 1.9999997914160235 loss: 3.3333333333333335\n",
      "Epoch: 157 w: 1.9999998108838613 loss: 3.3333333333333335\n",
      "Epoch: 158 w: 1.999999828534701 loss: 3.3333333333333335\n",
      "Epoch: 159 w: 1.9999998445381288 loss: 3.3333333333333335\n",
      "Epoch: 160 w: 1.9999998590479036 loss: 3.3333333333333335\n",
      "Epoch: 161 w: 1.9999998722034327 loss: 3.3333333333333335\n",
      "Epoch: 162 w: 1.9999998841311122 loss: 3.3333333333333335\n",
      "Epoch: 163 w: 1.9999998949455418 loss: 3.3333333333333335\n",
      "Epoch: 164 w: 1.9999999047506245 loss: 3.3333333333333335\n",
      "Epoch: 165 w: 1.9999999136405662 loss: 3.3333333333333335\n",
      "Epoch: 166 w: 1.99999992170078 loss: 3.3333333333333335\n",
      "Epoch: 167 w: 1.9999999290087072 loss: 3.3333333333333335\n",
      "Epoch: 168 w: 1.9999999356345612 loss: 3.3333333333333335\n",
      "Epoch: 169 w: 1.9999999416420022 loss: 3.3333333333333335\n",
      "Epoch: 170 w: 1.9999999470887486 loss: 3.3333333333333335\n",
      "Epoch: 171 w: 1.999999952027132 loss: 3.3333333333333335\n",
      "Epoch: 172 w: 1.9999999565045998 loss: 3.3333333333333335\n",
      "Epoch: 173 w: 1.9999999605641705 loss: 3.3333333333333335\n",
      "Epoch: 174 w: 1.9999999642448478 loss: 3.3333333333333335\n",
      "Epoch: 175 w: 1.9999999675819953 loss: 3.3333333333333335\n",
      "Epoch: 176 w: 1.9999999706076756 loss: 3.3333333333333335\n",
      "Epoch: 177 w: 1.9999999733509592 loss: 3.3333333333333335\n",
      "Epoch: 178 w: 1.999999975838203 loss: 3.3333333333333335\n",
      "Epoch: 179 w: 1.999999978093304 loss: 3.3333333333333335\n",
      "Epoch: 180 w: 1.999999980137929 loss: 3.3333333333333335\n",
      "Epoch: 181 w: 1.9999999819917222 loss: 3.3333333333333335\n",
      "Epoch: 182 w: 1.9999999836724949 loss: 3.3333333333333335\n",
      "Epoch: 183 w: 1.9999999851963954 loss: 3.3333333333333335\n",
      "Epoch: 184 w: 1.999999986578065 loss: 3.3333333333333335\n",
      "Epoch: 185 w: 1.999999987830779 loss: 3.3333333333333335\n",
      "Epoch: 186 w: 1.999999988966573 loss: 3.3333333333333335\n",
      "Epoch: 187 w: 1.9999999899963594 loss: 3.3333333333333335\n",
      "Epoch: 188 w: 1.9999999909300326 loss: 3.3333333333333335\n",
      "Epoch: 189 w: 1.9999999917765627 loss: 3.3333333333333335\n",
      "Epoch: 190 w: 1.9999999925440834 loss: 3.3333333333333335\n",
      "Epoch: 191 w: 1.999999993239969 loss: 3.3333333333333335\n",
      "Epoch: 192 w: 1.9999999938709052 loss: 3.3333333333333335\n",
      "Epoch: 193 w: 1.999999994442954 loss: 3.3333333333333335\n",
      "Epoch: 194 w: 1.9999999949616116 loss: 3.3333333333333335\n",
      "Epoch: 195 w: 1.9999999954318612 loss: 3.3333333333333335\n",
      "Epoch: 196 w: 1.9999999958582209 loss: 3.3333333333333335\n",
      "Epoch: 197 w: 1.999999996244787 loss: 3.3333333333333335\n",
      "Epoch: 198 w: 1.9999999965952735 loss: 3.3333333333333335\n",
      "Epoch: 199 w: 1.999999996913048 loss: 3.3333333333333335\n",
      "Epoch: 200 w: 1.9999999972011635 loss: 3.3333333333333335\n",
      "Epoch: 201 w: 1.9999999974623883 loss: 3.3333333333333335\n",
      "Epoch: 202 w: 1.999999997699232 loss: 3.3333333333333335\n",
      "Epoch: 203 w: 1.9999999979139704 loss: 3.3333333333333335\n",
      "Epoch: 204 w: 1.9999999981086665 loss: 3.3333333333333335\n",
      "Epoch: 205 w: 1.999999998285191 loss: 3.3333333333333335\n",
      "Epoch: 206 w: 1.99999999844524 loss: 3.3333333333333335\n",
      "Epoch: 207 w: 1.999999998590351 loss: 3.3333333333333335\n",
      "Epoch: 208 w: 1.9999999987219181 loss: 3.3333333333333335\n",
      "Epoch: 209 w: 1.9999999988412058 loss: 3.3333333333333335\n",
      "Epoch: 210 w: 1.99999999894936 loss: 3.3333333333333335\n",
      "Epoch: 211 w: 1.9999999990474198 loss: 3.3333333333333335\n",
      "Epoch: 212 w: 1.9999999991363273 loss: 3.3333333333333335\n",
      "Epoch: 213 w: 1.9999999992169368 loss: 3.3333333333333335\n",
      "Epoch: 214 w: 1.9999999992900228 loss: 3.3333333333333335\n",
      "Epoch: 215 w: 1.9999999993562874 loss: 3.3333333333333335\n",
      "Epoch: 216 w: 1.9999999994163673 loss: 3.3333333333333335\n",
      "Epoch: 217 w: 1.9999999994708397 loss: 3.3333333333333335\n",
      "Epoch: 218 w: 1.999999999520228 loss: 3.3333333333333335\n",
      "Epoch: 219 w: 1.9999999995650066 loss: 3.3333333333333335\n",
      "Epoch: 220 w: 1.999999999605606 loss: 3.3333333333333335\n",
      "Epoch: 221 w: 1.999999999642416 loss: 3.3333333333333335\n",
      "Epoch: 222 w: 1.9999999996757905 loss: 3.3333333333333335\n",
      "Epoch: 223 w: 1.99999999970605 loss: 3.3333333333333335\n",
      "Epoch: 224 w: 1.9999999997334854 loss: 3.3333333333333335\n",
      "Epoch: 225 w: 1.9999999997583602 loss: 3.3333333333333335\n",
      "Epoch: 226 w: 1.9999999997809133 loss: 3.3333333333333335\n",
      "Epoch: 227 w: 1.9999999998013613 loss: 3.3333333333333335\n",
      "Epoch: 228 w: 1.999999999819901 loss: 3.3333333333333335\n",
      "Epoch: 229 w: 1.9999999998367102 loss: 3.3333333333333335\n",
      "Epoch: 230 w: 1.9999999998519506 loss: 3.3333333333333335\n",
      "Epoch: 231 w: 1.9999999998657685 loss: 3.3333333333333335\n",
      "Epoch: 232 w: 1.9999999998782967 loss: 3.3333333333333335\n",
      "Epoch: 233 w: 1.9999999998896556 loss: 3.3333333333333335\n",
      "Epoch: 234 w: 1.9999999998999545 loss: 3.3333333333333335\n",
      "Epoch: 235 w: 1.9999999999092921 loss: 3.3333333333333335\n",
      "Epoch: 236 w: 1.9999999999177582 loss: 3.3333333333333335\n",
      "Epoch: 237 w: 1.999999999925434 loss: 3.3333333333333335\n",
      "Epoch: 238 w: 1.9999999999323936 loss: 3.3333333333333335\n",
      "Epoch: 239 w: 1.9999999999387035 loss: 3.3333333333333335\n",
      "Epoch: 240 w: 1.9999999999444245 loss: 3.3333333333333335\n",
      "Epoch: 241 w: 1.9999999999496114 loss: 3.3333333333333335\n",
      "Epoch: 242 w: 1.9999999999543143 loss: 3.3333333333333335\n",
      "Epoch: 243 w: 1.9999999999585782 loss: 3.3333333333333335\n",
      "Epoch: 244 w: 1.9999999999624443 loss: 3.3333333333333335\n",
      "Epoch: 245 w: 1.9999999999659495 loss: 3.3333333333333335\n",
      "Epoch: 246 w: 1.9999999999691276 loss: 3.3333333333333335\n",
      "Epoch: 247 w: 1.999999999972009 loss: 3.3333333333333335\n",
      "Epoch: 248 w: 1.9999999999746216 loss: 3.3333333333333335\n",
      "Epoch: 249 w: 1.9999999999769902 loss: 3.3333333333333335\n",
      "Epoch: 250 w: 1.9999999999791378 loss: 3.3333333333333335\n",
      "Epoch: 251 w: 1.999999999981085 loss: 3.3333333333333335\n",
      "Epoch: 252 w: 1.9999999999828504 loss: 3.3333333333333335\n",
      "Epoch: 253 w: 1.999999999984451 loss: 3.3333333333333335\n",
      "Epoch: 254 w: 1.9999999999859024 loss: 3.3333333333333335\n",
      "Epoch: 255 w: 1.9999999999872182 loss: 3.3333333333333335\n",
      "Epoch: 256 w: 1.9999999999884113 loss: 3.3333333333333335\n",
      "Epoch: 257 w: 1.9999999999894928 loss: 3.3333333333333335\n",
      "Epoch: 258 w: 1.9999999999904736 loss: 3.3333333333333335\n",
      "Epoch: 259 w: 1.9999999999913627 loss: 3.3333333333333335\n",
      "Epoch: 260 w: 1.999999999992169 loss: 3.3333333333333335\n",
      "Epoch: 261 w: 1.9999999999929 loss: 3.3333333333333335\n",
      "Epoch: 262 w: 1.9999999999935625 loss: 3.3333333333333335\n",
      "Epoch: 263 w: 1.9999999999941633 loss: 3.3333333333333335\n",
      "Epoch: 264 w: 1.999999999994708 loss: 3.3333333333333335\n",
      "Epoch: 265 w: 1.9999999999952018 loss: 3.3333333333333335\n",
      "Epoch: 266 w: 1.9999999999956497 loss: 3.3333333333333335\n",
      "Epoch: 267 w: 1.9999999999960558 loss: 3.3333333333333335\n",
      "Epoch: 268 w: 1.999999999996424 loss: 3.3333333333333335\n",
      "Epoch: 269 w: 1.9999999999967577 loss: 3.3333333333333335\n",
      "Epoch: 270 w: 1.9999999999970604 loss: 3.3333333333333335\n",
      "Epoch: 271 w: 1.9999999999973348 loss: 3.3333333333333335\n",
      "Epoch: 272 w: 1.9999999999975835 loss: 3.3333333333333335\n",
      "Epoch: 273 w: 1.999999999997809 loss: 3.3333333333333335\n",
      "Epoch: 274 w: 1.9999999999980136 loss: 3.3333333333333335\n",
      "Epoch: 275 w: 1.999999999998199 loss: 3.3333333333333335\n",
      "Epoch: 276 w: 1.999999999998367 loss: 3.3333333333333335\n",
      "Epoch: 277 w: 1.9999999999985194 loss: 3.3333333333333335\n",
      "Epoch: 278 w: 1.9999999999986575 loss: 3.3333333333333335\n",
      "Epoch: 279 w: 1.9999999999987828 loss: 3.3333333333333335\n",
      "Epoch: 280 w: 1.9999999999988964 loss: 3.3333333333333335\n",
      "Epoch: 281 w: 1.9999999999989995 loss: 3.3333333333333335\n",
      "Epoch: 282 w: 1.999999999999093 loss: 3.3333333333333335\n",
      "Epoch: 283 w: 1.9999999999991775 loss: 3.3333333333333335\n",
      "Epoch: 284 w: 1.9999999999992544 loss: 3.3333333333333335\n",
      "Epoch: 285 w: 1.9999999999993239 loss: 3.3333333333333335\n",
      "Epoch: 286 w: 1.999999999999387 loss: 3.3333333333333335\n",
      "Epoch: 287 w: 1.9999999999994442 loss: 3.3333333333333335\n",
      "Epoch: 288 w: 1.9999999999994962 loss: 3.3333333333333335\n",
      "Epoch: 289 w: 1.9999999999995433 loss: 3.3333333333333335\n",
      "Epoch: 290 w: 1.9999999999995859 loss: 3.3333333333333335\n",
      "Epoch: 291 w: 1.9999999999996245 loss: 3.3333333333333335\n",
      "Epoch: 292 w: 1.9999999999996596 loss: 3.3333333333333335\n",
      "Epoch: 293 w: 1.9999999999996914 loss: 3.3333333333333335\n",
      "Epoch: 294 w: 1.9999999999997202 loss: 3.3333333333333335\n",
      "Epoch: 295 w: 1.9999999999997464 loss: 3.3333333333333335\n",
      "Epoch: 296 w: 1.9999999999997702 loss: 3.3333333333333335\n",
      "Epoch: 297 w: 1.9999999999997917 loss: 3.3333333333333335\n",
      "Epoch: 298 w: 1.9999999999998113 loss: 3.3333333333333335\n",
      "Epoch: 299 w: 1.9999999999998288 loss: 3.3333333333333335\n",
      "Epoch: 300 w: 1.9999999999998448 loss: 3.3333333333333335\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 301 w: 1.9999999999998592 loss: 3.3333333333333335\n",
      "Epoch: 302 w: 1.9999999999998723 loss: 3.3333333333333335\n",
      "Epoch: 303 w: 1.9999999999998843 loss: 3.3333333333333335\n",
      "Epoch: 304 w: 1.9999999999998952 loss: 3.3333333333333335\n",
      "Epoch: 305 w: 1.999999999999905 loss: 3.3333333333333335\n",
      "Epoch: 306 w: 1.9999999999999138 loss: 3.3333333333333335\n",
      "Epoch: 307 w: 1.9999999999999218 loss: 3.3333333333333335\n",
      "Epoch: 308 w: 1.9999999999999292 loss: 3.3333333333333335\n",
      "Epoch: 309 w: 1.9999999999999358 loss: 3.3333333333333335\n",
      "Epoch: 310 w: 1.9999999999999418 loss: 3.3333333333333335\n",
      "Epoch: 311 w: 1.9999999999999472 loss: 3.3333333333333335\n",
      "Epoch: 312 w: 1.999999999999952 loss: 3.3333333333333335\n",
      "Epoch: 313 w: 1.9999999999999565 loss: 3.3333333333333335\n",
      "Epoch: 314 w: 1.9999999999999605 loss: 3.3333333333333335\n",
      "Epoch: 315 w: 1.9999999999999643 loss: 3.3333333333333335\n",
      "Epoch: 316 w: 1.9999999999999676 loss: 3.3333333333333335\n",
      "Epoch: 317 w: 1.9999999999999707 loss: 3.3333333333333335\n",
      "Epoch: 318 w: 1.9999999999999734 loss: 3.3333333333333335\n",
      "Epoch: 319 w: 1.9999999999999758 loss: 3.3333333333333335\n",
      "Epoch: 320 w: 1.999999999999978 loss: 3.3333333333333335\n",
      "Epoch: 321 w: 1.99999999999998 loss: 3.3333333333333335\n",
      "Epoch: 322 w: 1.9999999999999818 loss: 3.3333333333333335\n",
      "Epoch: 323 w: 1.9999999999999836 loss: 3.3333333333333335\n",
      "Epoch: 324 w: 1.9999999999999851 loss: 3.3333333333333335\n",
      "Epoch: 325 w: 1.9999999999999865 loss: 3.3333333333333335\n",
      "Epoch: 326 w: 1.9999999999999878 loss: 3.3333333333333335\n",
      "Epoch: 327 w: 1.999999999999989 loss: 3.3333333333333335\n",
      "Epoch: 328 w: 1.99999999999999 loss: 3.3333333333333335\n",
      "Epoch: 329 w: 1.999999999999991 loss: 3.3333333333333335\n",
      "Epoch: 330 w: 1.9999999999999918 loss: 3.3333333333333335\n",
      "Epoch: 331 w: 1.9999999999999925 loss: 3.3333333333333335\n",
      "Epoch: 332 w: 1.9999999999999931 loss: 3.3333333333333335\n",
      "Epoch: 333 w: 1.9999999999999938 loss: 3.3333333333333335\n",
      "Epoch: 334 w: 1.9999999999999944 loss: 3.3333333333333335\n",
      "Epoch: 335 w: 1.999999999999995 loss: 3.3333333333333335\n",
      "Epoch: 336 w: 1.9999999999999953 loss: 3.3333333333333335\n",
      "Epoch: 337 w: 1.9999999999999958 loss: 3.3333333333333335\n",
      "Epoch: 338 w: 1.9999999999999962 loss: 3.3333333333333335\n",
      "Epoch: 339 w: 1.9999999999999967 loss: 3.3333333333333335\n",
      "Epoch: 340 w: 1.999999999999997 loss: 3.3333333333333335\n",
      "Epoch: 341 w: 1.9999999999999971 loss: 3.3333333333333335\n",
      "Epoch: 342 w: 1.9999999999999973 loss: 3.3333333333333335\n",
      "Epoch: 343 w: 1.9999999999999976 loss: 3.3333333333333335\n",
      "Epoch: 344 w: 1.9999999999999978 loss: 3.3333333333333335\n",
      "Epoch: 345 w: 1.999999999999998 loss: 3.3333333333333335\n",
      "Epoch: 346 w: 1.9999999999999982 loss: 3.3333333333333335\n",
      "Epoch: 347 w: 1.9999999999999984 loss: 3.3333333333333335\n",
      "Epoch: 348 w: 1.9999999999999987 loss: 3.3333333333333335\n",
      "Epoch: 349 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 350 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 351 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 352 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 353 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 354 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 355 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 356 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 357 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 358 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 359 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 360 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 361 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 362 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 363 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 364 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 365 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 366 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 367 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 368 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 369 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 370 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 371 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 372 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 373 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 374 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 375 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 376 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 377 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 378 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 379 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 380 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 381 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 382 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 383 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 384 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 385 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 386 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 387 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 388 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 389 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 390 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 391 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 392 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 393 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 394 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 395 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 396 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 397 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 398 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 399 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 400 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 401 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 402 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 403 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 404 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 405 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 406 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 407 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 408 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 409 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 410 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 411 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 412 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 413 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 414 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 415 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 416 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 417 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 418 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 419 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 420 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 421 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 422 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 423 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 424 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 425 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 426 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 427 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 428 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 429 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 430 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 431 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 432 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 433 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 434 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 435 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 436 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 437 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 438 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 439 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 440 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 441 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 442 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 443 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 444 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 445 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 446 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 447 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 448 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 449 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 450 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 451 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 452 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 453 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 454 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 455 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 456 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 457 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 458 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 459 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 460 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 461 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 462 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 463 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 464 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 465 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 466 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 467 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 468 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 469 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 470 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 471 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 472 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 473 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 474 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 475 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 476 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 477 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 478 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 479 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 480 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 481 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 482 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 483 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 484 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 485 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 486 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 487 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 488 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 489 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 490 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 491 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 492 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 493 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 494 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 495 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 496 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 497 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 498 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 499 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 500 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 501 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 502 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 503 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 504 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 505 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 506 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 507 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 508 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 509 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 510 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 511 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 512 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 513 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 514 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 515 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 516 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 517 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 518 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 519 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 520 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 521 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 522 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 523 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 524 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 525 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 526 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 527 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 528 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 529 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 530 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 531 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 532 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 533 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 534 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 535 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 536 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 537 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 538 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 539 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 540 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 541 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 542 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 543 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 544 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 545 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 546 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 547 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 548 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 549 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 550 w: 1.999999999999999 loss: 3.3333333333333335\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 551 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 552 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 553 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 554 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 555 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 556 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 557 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 558 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 559 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 560 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 561 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 562 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 563 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 564 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 565 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 566 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 567 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 568 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 569 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 570 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 571 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 572 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 573 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 574 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 575 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 576 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 577 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 578 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 579 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 580 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 581 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 582 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 583 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 584 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 585 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 586 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 587 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 588 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 589 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 590 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 591 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 592 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 593 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 594 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 595 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 596 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 597 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 598 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 599 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 600 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 601 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 602 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 603 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 604 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 605 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 606 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 607 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 608 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 609 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 610 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 611 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 612 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 613 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 614 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 615 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 616 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 617 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 618 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 619 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 620 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 621 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 622 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 623 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 624 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 625 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 626 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 627 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 628 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 629 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 630 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 631 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 632 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 633 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 634 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 635 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 636 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 637 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 638 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 639 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 640 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 641 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 642 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 643 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 644 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 645 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 646 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 647 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 648 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 649 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 650 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 651 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 652 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 653 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 654 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 655 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 656 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 657 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 658 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 659 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 660 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 661 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 662 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 663 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 664 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 665 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 666 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 667 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 668 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 669 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 670 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 671 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 672 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 673 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 674 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 675 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 676 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 677 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 678 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 679 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 680 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 681 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 682 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 683 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 684 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 685 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 686 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 687 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 688 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 689 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 690 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 691 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 692 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 693 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 694 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 695 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 696 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 697 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 698 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 699 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 700 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 701 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 702 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 703 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 704 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 705 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 706 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 707 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 708 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 709 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 710 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 711 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 712 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 713 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 714 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 715 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 716 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 717 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 718 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 719 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 720 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 721 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 722 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 723 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 724 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 725 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 726 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 727 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 728 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 729 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 730 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 731 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 732 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 733 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 734 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 735 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 736 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 737 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 738 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 739 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 740 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 741 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 742 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 743 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 744 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 745 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 746 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 747 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 748 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 749 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 750 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 751 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 752 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 753 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 754 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 755 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 756 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 757 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 758 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 759 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 760 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 761 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 762 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 763 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 764 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 765 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 766 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 767 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 768 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 769 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 770 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 771 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 772 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 773 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 774 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 775 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 776 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 777 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 778 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 779 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 780 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 781 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 782 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 783 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 784 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 785 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 786 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 787 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 788 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 789 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 790 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 791 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 792 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 793 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 794 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 795 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 796 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 797 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 798 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 799 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 800 w: 1.999999999999999 loss: 3.3333333333333335\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 801 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 802 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 803 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 804 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 805 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 806 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 807 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 808 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 809 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 810 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 811 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 812 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 813 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 814 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 815 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 816 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 817 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 818 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 819 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 820 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 821 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 822 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 823 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 824 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 825 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 826 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 827 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 828 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 829 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 830 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 831 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 832 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 833 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 834 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 835 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 836 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 837 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 838 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 839 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 840 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 841 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 842 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 843 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 844 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 845 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 846 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 847 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 848 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 849 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 850 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 851 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 852 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 853 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 854 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 855 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 856 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 857 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 858 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 859 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 860 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 861 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 862 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 863 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 864 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 865 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 866 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 867 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 868 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 869 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 870 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 871 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 872 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 873 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 874 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 875 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 876 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 877 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 878 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 879 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 880 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 881 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 882 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 883 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 884 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 885 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 886 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 887 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 888 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 889 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 890 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 891 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 892 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 893 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 894 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 895 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 896 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 897 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 898 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 899 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 900 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 901 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 902 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 903 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 904 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 905 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 906 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 907 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 908 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 909 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 910 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 911 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 912 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 913 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 914 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 915 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 916 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 917 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 918 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 919 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 920 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 921 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 922 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 923 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 924 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 925 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 926 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 927 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 928 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 929 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 930 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 931 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 932 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 933 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 934 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 935 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 936 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 937 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 938 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 939 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 940 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 941 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 942 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 943 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 944 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 945 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 946 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 947 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 948 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 949 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 950 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 951 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 952 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 953 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 954 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 955 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 956 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 957 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 958 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 959 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 960 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 961 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 962 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 963 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 964 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 965 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 966 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 967 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 968 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 969 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 970 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 971 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 972 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 973 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 974 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 975 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 976 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 977 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 978 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 979 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 980 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 981 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 982 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 983 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 984 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 985 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 986 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 987 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 988 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 989 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 990 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 991 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 992 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 993 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 994 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 995 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 996 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 997 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 998 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "Epoch: 999 w: 1.999999999999999 loss: 3.3333333333333335\n",
      "predict after training 4 16\n"
     ]
    }
   ],
   "source": [
    "'''\n",
    "    梯度下降-所有样本求损失\n",
    "'''\n",
    "\n",
    "x_data = [1.0,2.0,3.0]\n",
    "y_data = [2.0,4.0,6.0]\n",
    "\n",
    "w = 1.0\n",
    "\n",
    "def forward(x):\n",
    "    return x*x \n",
    "\n",
    "def cost(xs,ys):\n",
    "    cost = 0\n",
    "    for x,y in zip(xs,ys):\n",
    "        y_pred = forward(x)\n",
    "        cost += (y_pred-y)**2\n",
    "    return cost/len(xs)\n",
    "\n",
    "def gradient(xs,ys):\n",
    "    grad = 0\n",
    "    for x,y in zip(xs,ys):\n",
    "        grad += 2*x*(x*w-y)\n",
    "    return grad/len(xs)\n",
    "\n",
    "loss = []\n",
    "for epoch in range(1000):\n",
    "    cost_val = cost(x_data,y_data)\n",
    "    loss.append(cost_val)\n",
    "    grad_val = gradient(x_data,y_data)\n",
    "    w -= 0.01 * grad_val\n",
    "    print(\"Epoch:\",epoch,\"w:\",w,\"loss:\",cost_val)\n",
    "\n",
    "print(\"predict after training\",4,forward(4))\n",
    "        \n",
    "        \n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 1.0 2.0 -2.0\n",
      "\tgrad 2.0 4.0 -7.84\n",
      "\tgrad 3.0 6.0 -16.2288\n",
      "Epoch: 0 w: 1.260688 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.478624\n",
      "\tgrad 2.0 4.0 -5.796206079999999\n",
      "\tgrad 3.0 6.0 -11.998146585599997\n",
      "Epoch: 1 w: 1.453417766656 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.093164466688\n",
      "\tgrad 2.0 4.0 -4.285204709416961\n",
      "\tgrad 3.0 6.0 -8.87037374849311\n",
      "Epoch: 2 w: 1.5959051959019805 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.8081896081960389\n",
      "\tgrad 2.0 4.0 -3.1681032641284723\n",
      "\tgrad 3.0 6.0 -6.557973756745939\n",
      "Epoch: 3 w: 1.701247862192685 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.59750427561463\n",
      "\tgrad 2.0 4.0 -2.3422167604093502\n",
      "\tgrad 3.0 6.0 -4.848388694047353\n",
      "Epoch: 4 w: 1.7791289594933983 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.44174208101320334\n",
      "\tgrad 2.0 4.0 -1.7316289575717576\n",
      "\tgrad 3.0 6.0 -3.584471942173538\n",
      "Epoch: 5 w: 1.836707389300983 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.3265852213980338\n",
      "\tgrad 2.0 4.0 -1.2802140678802925\n",
      "\tgrad 3.0 6.0 -2.650043120512205\n",
      "Epoch: 6 w: 1.8792758133988885 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.241448373202223\n",
      "\tgrad 2.0 4.0 -0.946477622952715\n",
      "\tgrad 3.0 6.0 -1.9592086795121197\n",
      "Epoch: 7 w: 1.910747160155559 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.17850567968888198\n",
      "\tgrad 2.0 4.0 -0.6997422643804168\n",
      "\tgrad 3.0 6.0 -1.4484664872674653\n",
      "Epoch: 8 w: 1.9340143044689266 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.13197139106214673\n",
      "\tgrad 2.0 4.0 -0.5173278529636143\n",
      "\tgrad 3.0 6.0 -1.0708686556346834\n",
      "Epoch: 9 w: 1.9512159834655312 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.09756803306893769\n",
      "\tgrad 2.0 4.0 -0.38246668963023644\n",
      "\tgrad 3.0 6.0 -0.7917060475345892\n",
      "Epoch: 10 w: 1.9639333911678687 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.07213321766426262\n",
      "\tgrad 2.0 4.0 -0.2827622132439096\n",
      "\tgrad 3.0 6.0 -0.5853177814148953\n",
      "Epoch: 11 w: 1.9733355232910992 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.05332895341780164\n",
      "\tgrad 2.0 4.0 -0.2090494973977819\n",
      "\tgrad 3.0 6.0 -0.4327324596134101\n",
      "Epoch: 12 w: 1.9802866323953892 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.039426735209221686\n",
      "\tgrad 2.0 4.0 -0.15455280202014876\n",
      "\tgrad 3.0 6.0 -0.3199243001817109\n",
      "Epoch: 13 w: 1.9854256707695 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.02914865846100012\n",
      "\tgrad 2.0 4.0 -0.11426274116712065\n",
      "\tgrad 3.0 6.0 -0.2365238742159388\n",
      "Epoch: 14 w: 1.9892250235079405 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.021549952984118992\n",
      "\tgrad 2.0 4.0 -0.08447581569774698\n",
      "\tgrad 3.0 6.0 -0.17486493849433593\n",
      "Epoch: 15 w: 1.9920339305797026 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.015932138840594856\n",
      "\tgrad 2.0 4.0 -0.062453984255132156\n",
      "\tgrad 3.0 6.0 -0.12927974740812687\n",
      "Epoch: 16 w: 1.994110589284741 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.011778821430517894\n",
      "\tgrad 2.0 4.0 -0.046172980007630926\n",
      "\tgrad 3.0 6.0 -0.09557806861579543\n",
      "Epoch: 17 w: 1.9956458879852805 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.008708224029438938\n",
      "\tgrad 2.0 4.0 -0.03413623819540135\n",
      "\tgrad 3.0 6.0 -0.07066201306448505\n",
      "Epoch: 18 w: 1.9967809527381737 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.006438094523652627\n",
      "\tgrad 2.0 4.0 -0.02523733053271826\n",
      "\tgrad 3.0 6.0 -0.052241274202728505\n",
      "Epoch: 19 w: 1.9976201197307648 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.004759760538470381\n",
      "\tgrad 2.0 4.0 -0.01865826131080439\n",
      "\tgrad 3.0 6.0 -0.03862260091336722\n",
      "Epoch: 20 w: 1.998240525958391 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0035189480832178432\n",
      "\tgrad 2.0 4.0 -0.01379427648621423\n",
      "\tgrad 3.0 6.0 -0.028554152326460525\n",
      "Epoch: 21 w: 1.99869919972735 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.002601600545300009\n",
      "\tgrad 2.0 4.0 -0.01019827413757568\n",
      "\tgrad 3.0 6.0 -0.021110427464781978\n",
      "Epoch: 22 w: 1.9990383027488265 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.001923394502346909\n",
      "\tgrad 2.0 4.0 -0.007539706449199102\n",
      "\tgrad 3.0 6.0 -0.01560719234984198\n",
      "Epoch: 23 w: 1.9992890056818404 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0014219886363191492\n",
      "\tgrad 2.0 4.0 -0.005574195454370212\n",
      "\tgrad 3.0 6.0 -0.011538584590544687\n",
      "Epoch: 24 w: 1.999474353368653 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0010512932626940419\n",
      "\tgrad 2.0 4.0 -0.004121069589761106\n",
      "\tgrad 3.0 6.0 -0.008530614050808794\n",
      "Epoch: 25 w: 1.9996113831376856 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0007772337246287897\n",
      "\tgrad 2.0 4.0 -0.0030467562005451754\n",
      "\tgrad 3.0 6.0 -0.006306785335127074\n",
      "Epoch: 26 w: 1.9997126908902887 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0005746182194226179\n",
      "\tgrad 2.0 4.0 -0.002252503420136165\n",
      "\tgrad 3.0 6.0 -0.00466268207967957\n",
      "Epoch: 27 w: 1.9997875889274812 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0004248221450375844\n",
      "\tgrad 2.0 4.0 -0.0016653028085471533\n",
      "\tgrad 3.0 6.0 -0.0034471768136938863\n",
      "Epoch: 28 w: 1.9998429619451539 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.00031407610969225175\n",
      "\tgrad 2.0 4.0 -0.0012311783499932005\n",
      "\tgrad 3.0 6.0 -0.0025485391844828342\n",
      "Epoch: 29 w: 1.9998838998815958 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.00023220023680847746\n",
      "\tgrad 2.0 4.0 -0.0009102249282886277\n",
      "\tgrad 3.0 6.0 -0.0018841656015560204\n",
      "Epoch: 30 w: 1.9999141657892625 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.00017166842147497974\n",
      "\tgrad 2.0 4.0 -0.0006729402121816719\n",
      "\tgrad 3.0 6.0 -0.0013929862392156878\n",
      "Epoch: 31 w: 1.9999365417379913 loss: 9.0\n",
      "\tgrad 1.0 2.0 -0.0001269165240174175\n",
      "\tgrad 2.0 4.0 -0.0004975127741477792\n",
      "\tgrad 3.0 6.0 -0.0010298514424817995\n",
      "Epoch: 32 w: 1.9999530845453979 loss: 9.0\n",
      "\tgrad 1.0 2.0 -9.383090920422887e-05\n",
      "\tgrad 2.0 4.0 -0.00036781716408107457\n",
      "\tgrad 3.0 6.0 -0.0007613815296476645\n",
      "Epoch: 33 w: 1.9999653148414271 loss: 9.0\n",
      "\tgrad 1.0 2.0 -6.937031714571162e-05\n",
      "\tgrad 2.0 4.0 -0.0002719316432120422\n",
      "\tgrad 3.0 6.0 -0.0005628985014531906\n",
      "Epoch: 34 w: 1.999974356846045 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.1286307909848006e-05\n",
      "\tgrad 2.0 4.0 -0.00020104232700646207\n",
      "\tgrad 3.0 6.0 -0.0004161576169003922\n",
      "Epoch: 35 w: 1.9999810417085633 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.7916582873442906e-05\n",
      "\tgrad 2.0 4.0 -0.0001486330048638962\n",
      "\tgrad 3.0 6.0 -0.0003076703200690645\n",
      "Epoch: 36 w: 1.9999859839076413 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.8032184717474706e-05\n",
      "\tgrad 2.0 4.0 -0.0001098861640933535\n",
      "\tgrad 3.0 6.0 -0.00022746435967313516\n",
      "Epoch: 37 w: 1.9999896377347262 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.0724530547688857e-05\n",
      "\tgrad 2.0 4.0 -8.124015974608767e-05\n",
      "\tgrad 3.0 6.0 -0.00016816713067413502\n",
      "Epoch: 38 w: 1.999992339052936 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.5321894128117464e-05\n",
      "\tgrad 2.0 4.0 -6.006182498197177e-05\n",
      "\tgrad 3.0 6.0 -0.00012432797771566584\n",
      "Epoch: 39 w: 1.9999943361699042 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.1327660191629008e-05\n",
      "\tgrad 2.0 4.0 -4.4404427951505454e-05\n",
      "\tgrad 3.0 6.0 -9.191716585732479e-05\n",
      "Epoch: 40 w: 1.9999958126624442 loss: 9.0\n",
      "\tgrad 1.0 2.0 -8.37467511161094e-06\n",
      "\tgrad 2.0 4.0 -3.282872643772805e-05\n",
      "\tgrad 3.0 6.0 -6.795546372551087e-05\n",
      "Epoch: 41 w: 1.999996904251097 loss: 9.0\n",
      "\tgrad 1.0 2.0 -6.191497806007362e-06\n",
      "\tgrad 2.0 4.0 -2.4270671399762023e-05\n",
      "\tgrad 3.0 6.0 -5.0240289795056015e-05\n",
      "Epoch: 42 w: 1.999997711275687 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.5774486259198e-06\n",
      "\tgrad 2.0 4.0 -1.794359861406747e-05\n",
      "\tgrad 3.0 6.0 -3.714324913239864e-05\n",
      "Epoch: 43 w: 1.9999983079186507 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.3841626985164908e-06\n",
      "\tgrad 2.0 4.0 -1.326591777761621e-05\n",
      "\tgrad 3.0 6.0 -2.7460449796734565e-05\n",
      "Epoch: 44 w: 1.9999987490239537 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.5019520926150562e-06\n",
      "\tgrad 2.0 4.0 -9.807652203264183e-06\n",
      "\tgrad 3.0 6.0 -2.0301840059744336e-05\n",
      "Epoch: 45 w: 1.9999990751383971 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.8497232057157476e-06\n",
      "\tgrad 2.0 4.0 -7.250914967116273e-06\n",
      "\tgrad 3.0 6.0 -1.5009393983689279e-05\n",
      "Epoch: 46 w: 1.9999993162387186 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3675225627451937e-06\n",
      "\tgrad 2.0 4.0 -5.3606884460322135e-06\n",
      "\tgrad 3.0 6.0 -1.109662508014253e-05\n",
      "Epoch: 47 w: 1.9999994944870796 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.0110258408246864e-06\n",
      "\tgrad 2.0 4.0 -3.963221296032771e-06\n",
      "\tgrad 3.0 6.0 -8.20386808086937e-06\n",
      "Epoch: 48 w: 1.9999996262682318 loss: 9.0\n",
      "\tgrad 1.0 2.0 -7.474635363990956e-07\n",
      "\tgrad 2.0 4.0 -2.930057062755509e-06\n",
      "\tgrad 3.0 6.0 -6.065218119744031e-06\n",
      "Epoch: 49 w: 1.999999723695619 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.526087618612507e-07\n",
      "\tgrad 2.0 4.0 -2.166226346744793e-06\n",
      "\tgrad 3.0 6.0 -4.484088535150477e-06\n",
      "Epoch: 50 w: 1.9999997957248556 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.08550288710785e-07\n",
      "\tgrad 2.0 4.0 -1.6015171322436572e-06\n",
      "\tgrad 3.0 6.0 -3.3151404608133817e-06\n",
      "Epoch: 51 w: 1.9999998489769344 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.020461312175371e-07\n",
      "\tgrad 2.0 4.0 -1.1840208351543424e-06\n",
      "\tgrad 3.0 6.0 -2.4509231284497446e-06\n",
      "Epoch: 52 w: 1.9999998883468353 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.2330632942768602e-07\n",
      "\tgrad 2.0 4.0 -8.753608113920563e-07\n",
      "\tgrad 3.0 6.0 -1.811996877876254e-06\n",
      "Epoch: 53 w: 1.9999999174534755 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.6509304900935717e-07\n",
      "\tgrad 2.0 4.0 -6.471647520100987e-07\n",
      "\tgrad 3.0 6.0 -1.3396310407642886e-06\n",
      "Epoch: 54 w: 1.999999938972364 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.220552721115098e-07\n",
      "\tgrad 2.0 4.0 -4.784566662863199e-07\n",
      "\tgrad 3.0 6.0 -9.904052991061008e-07\n",
      "Epoch: 55 w: 1.9999999548815364 loss: 9.0\n",
      "\tgrad 1.0 2.0 -9.023692726373156e-08\n",
      "\tgrad 2.0 4.0 -3.5372875473171916e-07\n",
      "\tgrad 3.0 6.0 -7.322185204827747e-07\n",
      "Epoch: 56 w: 1.9999999666433785 loss: 9.0\n",
      "\tgrad 1.0 2.0 -6.671324292994996e-08\n",
      "\tgrad 2.0 4.0 -2.615159129248923e-07\n",
      "\tgrad 3.0 6.0 -5.413379398078177e-07\n",
      "Epoch: 57 w: 1.9999999753390494 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.932190122985958e-08\n",
      "\tgrad 2.0 4.0 -1.9334185274999527e-07\n",
      "\tgrad 3.0 6.0 -4.002176350326181e-07\n",
      "Epoch: 58 w: 1.9999999817678633 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.6464273378555845e-08\n",
      "\tgrad 2.0 4.0 -1.429399514307761e-07\n",
      "\tgrad 3.0 6.0 -2.9588569994132286e-07\n",
      "Epoch: 59 w: 1.9999999865207625 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.6958475007887728e-08\n",
      "\tgrad 2.0 4.0 -1.0567722164012139e-07\n",
      "\tgrad 3.0 6.0 -2.1875184863517916e-07\n",
      "Epoch: 60 w: 1.999999990034638 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.993072418216002e-08\n",
      "\tgrad 2.0 4.0 -7.812843882959442e-08\n",
      "\tgrad 3.0 6.0 -1.617258700292723e-07\n",
      "Epoch: 61 w: 1.9999999926324883 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.473502342363986e-08\n",
      "\tgrad 2.0 4.0 -5.7761292637792394e-08\n",
      "\tgrad 3.0 6.0 -1.195658771990793e-07\n",
      "Epoch: 62 w: 1.99999999455311 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.0893780100218464e-08\n",
      "\tgrad 2.0 4.0 -4.270361841918202e-08\n",
      "\tgrad 3.0 6.0 -8.839649012770678e-08\n",
      "Epoch: 63 w: 1.9999999959730488 loss: 9.0\n",
      "\tgrad 1.0 2.0 -8.05390243385773e-09\n",
      "\tgrad 2.0 4.0 -3.1571296688071016e-08\n",
      "\tgrad 3.0 6.0 -6.53525820126788e-08\n",
      "Epoch: 64 w: 1.9999999970228268 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.9543463493128e-09\n",
      "\tgrad 2.0 4.0 -2.334103754719763e-08\n",
      "\tgrad 3.0 6.0 -4.8315948575350376e-08\n",
      "Epoch: 65 w: 1.9999999977989402 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.402119557767037e-09\n",
      "\tgrad 2.0 4.0 -1.725630838222969e-08\n",
      "\tgrad 3.0 6.0 -3.5720557178819945e-08\n",
      "Epoch: 66 w: 1.9999999983727301 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.254539748809293e-09\n",
      "\tgrad 2.0 4.0 -1.2757796596929438e-08\n",
      "\tgrad 3.0 6.0 -2.6408640607655798e-08\n",
      "Epoch: 67 w: 1.9999999987969397 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.406120636067044e-09\n",
      "\tgrad 2.0 4.0 -9.431992964437086e-09\n",
      "\tgrad 3.0 6.0 -1.9524227568012975e-08\n",
      "Epoch: 68 w: 1.999999999110563 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.7788739370416806e-09\n",
      "\tgrad 2.0 4.0 -6.97318647269185e-09\n",
      "\tgrad 3.0 6.0 -1.4434496264925656e-08\n",
      "Epoch: 69 w: 1.9999999993424284 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3151431055291596e-09\n",
      "\tgrad 2.0 4.0 -5.155360582875801e-09\n",
      "\tgrad 3.0 6.0 -1.067159693945996e-08\n",
      "Epoch: 70 w: 1.9999999995138495 loss: 9.0\n",
      "\tgrad 1.0 2.0 -9.72300906454393e-10\n",
      "\tgrad 2.0 4.0 -3.811418736177075e-09\n",
      "\tgrad 3.0 6.0 -7.88963561149103e-09\n",
      "Epoch: 71 w: 1.9999999996405833 loss: 9.0\n",
      "\tgrad 1.0 2.0 -7.18833437218791e-10\n",
      "\tgrad 2.0 4.0 -2.8178277489132597e-09\n",
      "\tgrad 3.0 6.0 -5.832902161273523e-09\n",
      "Epoch: 72 w: 1.999999999734279 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.314420015167798e-10\n",
      "\tgrad 2.0 4.0 -2.0832526814729135e-09\n",
      "\tgrad 3.0 6.0 -4.31233715403323e-09\n",
      "Epoch: 73 w: 1.9999999998035491 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.92901711165905e-10\n",
      "\tgrad 2.0 4.0 -1.5401742103904326e-09\n",
      "\tgrad 3.0 6.0 -3.188159070077745e-09\n",
      "Epoch: 74 w: 1.9999999998547615 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.9047697580608656e-10\n",
      "\tgrad 2.0 4.0 -1.1386696030513122e-09\n",
      "\tgrad 3.0 6.0 -2.3570478902001923e-09\n",
      "Epoch: 75 w: 1.9999999998926234 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.1475310418850313e-10\n",
      "\tgrad 2.0 4.0 -8.418314934033333e-10\n",
      "\tgrad 3.0 6.0 -1.7425900722400911e-09\n",
      "Epoch: 76 w: 1.9999999999206153 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.5876944203796484e-10\n",
      "\tgrad 2.0 4.0 -6.223768167501476e-10\n",
      "\tgrad 3.0 6.0 -1.2883241140571045e-09\n",
      "Epoch: 77 w: 1.9999999999413098 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.17380327679939e-10\n",
      "\tgrad 2.0 4.0 -4.601314884666863e-10\n",
      "\tgrad 3.0 6.0 -9.524754318590567e-10\n",
      "Epoch: 78 w: 1.9999999999566096 loss: 9.0\n",
      "\tgrad 1.0 2.0 -8.678080476443029e-11\n",
      "\tgrad 2.0 4.0 -3.4018121652934497e-10\n",
      "\tgrad 3.0 6.0 -7.041780492045291e-10\n",
      "Epoch: 79 w: 1.9999999999679208 loss: 9.0\n",
      "\tgrad 1.0 2.0 -6.415845632545825e-11\n",
      "\tgrad 2.0 4.0 -2.5150193039280566e-10\n",
      "\tgrad 3.0 6.0 -5.206075570640678e-10\n",
      "Epoch: 80 w: 1.9999999999762834 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.743316850408519e-11\n",
      "\tgrad 2.0 4.0 -1.8593837580738182e-10\n",
      "\tgrad 3.0 6.0 -3.8489211817704927e-10\n",
      "Epoch: 81 w: 1.999999999982466 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.5067948545020045e-11\n",
      "\tgrad 2.0 4.0 -1.3746692673066718e-10\n",
      "\tgrad 3.0 6.0 -2.845563784603655e-10\n",
      "Epoch: 82 w: 1.9999999999870368 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.5926372160256506e-11\n",
      "\tgrad 2.0 4.0 -1.0163070385260653e-10\n",
      "\tgrad 3.0 6.0 -2.1037571684701106e-10\n",
      "Epoch: 83 w: 1.999999999990416 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.9167778475548403e-11\n",
      "\tgrad 2.0 4.0 -7.51381179497912e-11\n",
      "\tgrad 3.0 6.0 -1.5553425214420713e-10\n",
      "Epoch: 84 w: 1.9999999999929146 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.4170886686315498e-11\n",
      "\tgrad 2.0 4.0 -5.555023108172463e-11\n",
      "\tgrad 3.0 6.0 -1.1499068364173581e-10\n",
      "Epoch: 85 w: 1.9999999999947617 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.0476508549572827e-11\n",
      "\tgrad 2.0 4.0 -4.106759377009439e-11\n",
      "\tgrad 3.0 6.0 -8.500933290633839e-11\n",
      "Epoch: 86 w: 1.9999999999961273 loss: 9.0\n",
      "\tgrad 1.0 2.0 -7.745359908994942e-12\n",
      "\tgrad 2.0 4.0 -3.036149109902908e-11\n",
      "\tgrad 3.0 6.0 -6.285105769165966e-11\n",
      "Epoch: 87 w: 1.999999999997137 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.726086271806707e-12\n",
      "\tgrad 2.0 4.0 -2.2446045022661565e-11\n",
      "\tgrad 3.0 6.0 -4.646416584819235e-11\n",
      "Epoch: 88 w: 1.9999999999978835 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.233058348290797e-12\n",
      "\tgrad 2.0 4.0 -1.659294923683774e-11\n",
      "\tgrad 3.0 6.0 -3.4351188560322043e-11\n",
      "Epoch: 89 w: 1.9999999999984353 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.1294966618133913e-12\n",
      "\tgrad 2.0 4.0 -1.226752033289813e-11\n",
      "\tgrad 3.0 6.0 -2.539835008974478e-11\n",
      "Epoch: 90 w: 1.9999999999988431 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.3137047833188262e-12\n",
      "\tgrad 2.0 4.0 -9.070078021977679e-12\n",
      "\tgrad 3.0 6.0 -1.8779644506139448e-11\n",
      "Epoch: 91 w: 1.9999999999991447 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.7106316363424412e-12\n",
      "\tgrad 2.0 4.0 -6.7057470687359455e-12\n",
      "\tgrad 3.0 6.0 -1.3882228699912957e-11\n",
      "Epoch: 92 w: 1.9999999999993676 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.2647660696529783e-12\n",
      "\tgrad 2.0 4.0 -4.957811938766099e-12\n",
      "\tgrad 3.0 6.0 -1.0263789818054647e-11\n",
      "Epoch: 93 w: 1.9999999999995324 loss: 9.0\n",
      "\tgrad 1.0 2.0 -9.352518759442319e-13\n",
      "\tgrad 2.0 4.0 -3.666400516522117e-12\n",
      "\tgrad 3.0 6.0 -7.58859641791787e-12\n",
      "Epoch: 94 w: 1.9999999999996543 loss: 9.0\n",
      "\tgrad 1.0 2.0 -6.914468997365475e-13\n",
      "\tgrad 2.0 4.0 -2.7107205369247822e-12\n",
      "\tgrad 3.0 6.0 -5.611511255665391e-12\n",
      "Epoch: 95 w: 1.9999999999997444 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.111466805374221e-13\n",
      "\tgrad 2.0 4.0 -2.0037305148434825e-12\n",
      "\tgrad 3.0 6.0 -4.1460168631601846e-12\n",
      "Epoch: 96 w: 1.999999999999811 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.779199175824033e-13\n",
      "\tgrad 2.0 4.0 -1.4814816040598089e-12\n",
      "\tgrad 3.0 6.0 -3.064215547965432e-12\n",
      "Epoch: 97 w: 1.9999999999998603 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.793321129956894e-13\n",
      "\tgrad 2.0 4.0 -1.0942358130705543e-12\n",
      "\tgrad 3.0 6.0 -2.2648549702353193e-12\n",
      "Epoch: 98 w: 1.9999999999998967 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.0650148258027912e-13\n",
      "\tgrad 2.0 4.0 -8.100187187665142e-13\n",
      "\tgrad 3.0 6.0 -1.6786572132332367e-12\n",
      "Epoch: 99 w: 1.9999999999999236 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.5276668818842154e-13\n",
      "\tgrad 2.0 4.0 -5.986322548778844e-13\n",
      "\tgrad 3.0 6.0 -1.2363443602225743e-12\n",
      "Epoch: 100 w: 1.9999999999999436 loss: 9.0\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 1.0 2.0 -1.127986593019159e-13\n",
      "\tgrad 2.0 4.0 -4.4231285301066237e-13\n",
      "\tgrad 3.0 6.0 -9.166001291305292e-13\n",
      "Epoch: 101 w: 1.9999999999999583 loss: 9.0\n",
      "\tgrad 1.0 2.0 -8.348877145181177e-14\n",
      "\tgrad 2.0 4.0 -3.268496584496461e-13\n",
      "\tgrad 3.0 6.0 -6.767919558114954e-13\n",
      "Epoch: 102 w: 1.9999999999999691 loss: 9.0\n",
      "\tgrad 1.0 2.0 -6.17284001691587e-14\n",
      "\tgrad 2.0 4.0 -2.4158453015843406e-13\n",
      "\tgrad 3.0 6.0 -5.009326287108706e-13\n",
      "Epoch: 103 w: 1.9999999999999774 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.529709940470639e-14\n",
      "\tgrad 2.0 4.0 -1.7763568394002505e-13\n",
      "\tgrad 3.0 6.0 -3.6770586575585185e-13\n",
      "Epoch: 104 w: 1.9999999999999833 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.3306690738754696e-14\n",
      "\tgrad 2.0 4.0 -1.3145040611561853e-13\n",
      "\tgrad 3.0 6.0 -2.717825964282383e-13\n",
      "Epoch: 105 w: 1.9999999999999876 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.4868995751603507e-14\n",
      "\tgrad 2.0 4.0 -9.769962616701378e-14\n",
      "\tgrad 3.0 6.0 -2.0250467969162855e-13\n",
      "Epoch: 106 w: 1.9999999999999907 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.865174681370263e-14\n",
      "\tgrad 2.0 4.0 -7.283063041541027e-14\n",
      "\tgrad 3.0 6.0 -1.4921397450962104e-13\n",
      "Epoch: 107 w: 1.9999999999999931 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3766765505351941e-14\n",
      "\tgrad 2.0 4.0 -5.3290705182007514e-14\n",
      "\tgrad 3.0 6.0 -1.1191048088221578e-13\n",
      "Epoch: 108 w: 1.999999999999995 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.021405182655144e-14\n",
      "\tgrad 2.0 4.0 -4.085620730620576e-14\n",
      "\tgrad 3.0 6.0 -8.526512829121202e-14\n",
      "Epoch: 109 w: 1.9999999999999962 loss: 9.0\n",
      "\tgrad 1.0 2.0 -7.549516567451064e-15\n",
      "\tgrad 2.0 4.0 -3.019806626980426e-14\n",
      "\tgrad 3.0 6.0 -6.394884621840902e-14\n",
      "Epoch: 110 w: 1.9999999999999971 loss: 9.0\n",
      "\tgrad 1.0 2.0 -5.773159728050814e-15\n",
      "\tgrad 2.0 4.0 -2.3092638912203256e-14\n",
      "\tgrad 3.0 6.0 -4.796163466380676e-14\n",
      "Epoch: 111 w: 1.9999999999999978 loss: 9.0\n",
      "\tgrad 1.0 2.0 -4.440892098500626e-15\n",
      "\tgrad 2.0 4.0 -1.7763568394002505e-14\n",
      "\tgrad 3.0 6.0 -3.730349362740526e-14\n",
      "Epoch: 112 w: 1.9999999999999984 loss: 9.0\n",
      "\tgrad 1.0 2.0 -3.1086244689504383e-15\n",
      "\tgrad 2.0 4.0 -1.2434497875801753e-14\n",
      "\tgrad 3.0 6.0 -2.1316282072803006e-14\n",
      "Epoch: 113 w: 1.999999999999999 loss: 9.0\n",
      "\tgrad 1.0 2.0 -2.220446049250313e-15\n",
      "\tgrad 2.0 4.0 -8.881784197001252e-15\n",
      "\tgrad 3.0 6.0 -2.1316282072803006e-14\n",
      "Epoch: 114 w: 1.9999999999999991 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.7763568394002505e-15\n",
      "\tgrad 2.0 4.0 -7.105427357601002e-15\n",
      "\tgrad 3.0 6.0 -1.5987211554602254e-14\n",
      "Epoch: 115 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 116 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 117 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 118 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 119 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 120 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 121 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 122 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 123 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 124 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 125 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 126 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 127 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 128 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 129 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 130 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 131 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 132 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 133 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 134 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 135 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 136 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 137 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 138 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 139 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 140 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 141 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 142 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 143 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 144 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 145 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 146 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 147 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 148 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 149 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 150 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 151 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 152 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 153 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 154 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 155 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 156 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 157 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 158 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 159 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 160 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 161 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 162 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 163 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 164 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 165 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 166 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 167 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 168 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 169 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 170 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 171 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 172 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 173 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 174 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 175 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 176 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 177 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 178 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 179 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 180 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 181 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 182 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 183 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 184 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 185 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 186 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 187 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 188 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 189 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 190 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 191 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 192 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 193 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 194 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 195 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 196 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 197 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 198 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 199 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 200 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 201 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 202 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 203 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 204 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 205 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 206 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 207 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 208 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 209 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 210 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 211 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 212 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 213 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 214 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 215 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 216 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 217 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 218 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 219 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 220 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 221 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 222 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 223 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 224 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 225 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 226 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 227 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 228 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 229 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 230 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 231 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 232 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 233 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 234 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 235 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 236 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 237 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 238 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 239 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 240 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 241 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 242 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 243 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 244 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 245 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 246 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 247 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 248 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 249 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 250 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 251 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 252 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 253 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 254 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 255 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 256 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 257 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 258 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 259 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 260 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 261 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 262 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 263 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 264 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 265 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 266 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 267 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 268 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 269 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 270 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 271 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 272 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 273 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 274 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 275 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 276 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 277 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 278 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 279 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 280 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 281 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 282 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 283 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 284 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 285 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 286 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 287 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 288 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 289 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 290 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 291 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 292 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 293 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 294 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 295 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 296 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 297 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 298 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 299 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 300 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 301 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 302 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 303 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 304 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 305 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 306 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 307 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 308 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 309 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 310 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 311 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 312 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 313 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 314 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 315 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 316 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 317 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 318 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 319 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 320 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 321 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 322 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 323 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 324 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 325 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 326 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 327 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 328 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 329 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 330 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 331 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 332 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 333 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 334 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 335 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 336 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 337 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 338 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 339 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 340 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 341 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 342 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 343 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 344 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 345 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 346 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 347 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 348 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 349 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 350 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 351 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 352 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 353 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 354 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 355 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 356 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 357 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 358 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 359 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 360 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 361 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 362 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 363 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 364 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 365 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 366 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 367 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 368 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 369 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 370 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 371 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 372 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 373 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 374 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 375 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 376 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 377 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 378 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 379 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 380 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 381 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 382 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 383 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 384 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 385 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 386 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 387 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 388 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 389 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 390 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 391 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 392 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 393 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 394 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 395 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 396 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 397 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 398 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 399 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 400 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 401 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 402 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 403 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 404 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 405 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 406 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 407 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 408 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 409 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 410 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 411 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 412 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 413 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 414 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 415 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 416 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 417 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 418 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 419 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 420 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 421 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 422 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 423 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 424 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 425 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 426 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 427 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 428 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 429 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 430 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 431 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 432 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 433 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 434 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 435 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 436 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 437 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 438 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 439 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 440 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 441 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 442 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 443 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 444 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 445 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 446 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 447 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 448 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 449 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 450 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 451 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 452 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 453 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 454 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 455 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 456 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 457 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 458 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 459 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 460 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 461 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 462 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 463 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 464 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 465 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 466 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 467 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 468 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 469 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 470 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 471 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 472 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 473 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 474 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 475 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 476 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 477 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 478 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 479 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 480 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 481 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 482 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 483 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 484 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 485 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 486 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 487 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 488 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 489 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 490 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 491 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 492 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 493 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 494 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 495 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 496 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 497 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 498 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 499 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 500 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 501 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 502 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 503 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 504 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 505 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 506 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 507 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 508 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 509 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 510 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 511 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 512 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 513 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 514 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 515 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 516 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 517 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 518 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 519 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 520 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 521 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 522 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 523 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 524 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 525 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 526 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 527 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 528 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 529 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 530 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 531 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 532 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 533 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 534 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 535 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 536 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 537 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 538 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 539 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 540 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 541 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 542 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 543 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 544 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 545 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 546 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 547 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 548 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 549 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 550 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 551 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 552 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 553 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 554 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 555 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 556 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 557 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 558 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 559 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 560 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 561 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 562 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 563 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 564 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 565 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 566 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 567 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 568 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 569 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 570 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 571 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 572 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 573 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 574 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 575 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 576 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 577 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 578 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 579 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 580 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 581 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 582 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 583 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 584 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 585 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 586 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 587 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 588 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 589 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 590 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 591 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 592 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 593 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 594 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 595 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 596 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 597 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 598 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 599 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch: 600 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 601 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 602 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 603 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 604 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 605 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 606 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 607 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 608 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 609 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 610 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 611 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 612 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 613 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 614 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 615 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 616 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 617 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 618 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 619 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 620 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 621 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 622 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 623 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 624 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 625 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 626 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 627 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 628 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 629 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 630 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 631 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 632 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 633 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 634 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 635 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 636 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 637 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 638 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 639 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 640 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 641 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 642 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 643 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 644 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 645 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 646 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 647 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 648 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 649 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 650 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 651 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 652 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 653 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 654 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 655 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 656 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 657 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 658 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 659 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 660 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 661 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 662 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 663 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 664 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 665 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 666 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 667 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 668 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 669 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 670 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 671 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 672 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 673 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 674 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 675 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 676 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 677 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 678 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 679 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 680 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 681 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 682 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 683 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 684 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 685 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 686 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 687 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 688 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 689 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 690 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 691 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 692 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 693 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 694 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 695 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 696 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 697 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 698 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 699 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 700 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 701 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 702 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 703 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 704 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 705 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 706 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 707 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 708 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 709 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 710 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 711 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 712 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 713 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 714 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 715 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 716 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 717 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 718 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 719 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 720 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 721 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 722 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 723 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 724 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 725 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 726 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 727 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 728 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 729 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 730 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 731 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 732 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 733 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 734 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 735 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 736 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 737 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 738 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 739 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 740 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 741 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 742 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 743 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 744 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 745 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 746 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 747 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 748 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 749 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 750 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 751 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 752 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 753 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 754 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 755 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 756 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 757 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 758 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 759 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 760 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 761 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 762 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 763 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 764 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 765 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 766 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 767 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 768 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 769 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 770 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 771 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 772 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 773 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 774 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 775 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 776 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 777 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 778 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 779 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 780 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 781 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 782 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 783 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 784 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 785 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 786 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 787 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 788 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 789 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 790 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 791 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 792 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 793 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 794 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 795 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 796 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 797 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 798 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 799 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 800 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 801 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 802 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 803 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 804 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 805 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 806 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 807 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 808 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 809 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 810 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 811 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 812 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 813 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 814 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 815 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 816 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 817 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 818 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 819 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 820 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 821 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 822 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 823 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 824 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 825 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 826 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 827 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 828 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 829 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 830 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 831 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 832 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 833 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 834 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 835 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 836 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 837 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 838 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 839 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 840 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 841 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 842 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 843 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 844 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 845 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 846 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 847 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 848 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 849 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 850 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 851 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 852 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 853 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 854 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 855 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 856 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 857 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 858 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 859 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 860 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 861 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 862 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 863 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 864 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 865 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 866 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 867 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 868 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 869 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 870 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 871 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 872 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 873 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 874 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 875 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 876 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 877 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 878 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 879 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 880 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 881 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 882 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 883 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 884 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 885 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 886 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 887 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 888 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 889 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 890 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 891 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 892 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 893 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 894 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 895 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 896 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 897 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 898 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 899 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 900 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 901 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 902 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 903 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 904 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 905 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 906 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 907 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 908 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 909 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 910 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 911 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 912 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 913 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 914 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 915 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 916 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 917 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 918 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 919 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 920 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 921 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 922 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 923 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 924 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 925 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 926 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 927 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 928 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 929 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 930 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 931 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 932 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 933 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 934 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 935 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 936 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 937 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 938 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 939 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 940 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 941 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 942 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 943 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 944 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 945 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 946 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 947 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 948 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 949 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 950 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 951 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 952 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 953 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 954 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 955 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 956 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 957 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 958 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 959 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 960 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 961 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 962 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 963 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 964 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 965 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 966 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 967 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 968 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 969 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 970 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 971 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 972 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 973 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 974 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 975 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 976 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 977 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 978 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 979 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 980 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 981 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 982 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 983 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 984 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 985 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 986 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 987 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 988 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 989 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 990 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 991 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 992 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 993 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 994 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 995 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 996 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 997 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 998 w: 1.9999999999999993 loss: 9.0\n",
      "\tgrad 1.0 2.0 -1.3322676295501878e-15\n",
      "\tgrad 2.0 4.0 -5.329070518200751e-15\n",
      "\tgrad 3.0 6.0 -1.0658141036401503e-14\n",
      "Epoch: 999 w: 1.9999999999999993 loss: 9.0\n"
     ]
    }
   ],
   "source": [
    "'''\n",
    "    随机梯度下降-每个样本求损失\n",
    "'''\n",
    "\n",
    "x_data = [1.0,2.0,3.0]\n",
    "y_data = [2.0,4.0,6.0]\n",
    "\n",
    "w = 1.0\n",
    "\n",
    "def forward(x):\n",
    "    return x*x \n",
    "\n",
    "def loss(xs,ys):\n",
    "    y_pred = forward(x)\n",
    "    return (y_pred-y)**2\n",
    "\n",
    "def gradient(x,y):\n",
    "    return 2*x*(x*w-y)\n",
    "\n",
    "for epoch in range(1000):\n",
    "    for x,y in zip(x_data,y_data):\n",
    "        grad = gradient(x,y)\n",
    "        w -= 0.01*grad\n",
    "        print(\"\\tgrad\",x,y,grad)\n",
    "        l = loss(x,y)\n",
    "        \n",
    "    print(\"Epoch:\",epoch,\"w:\",w,\"loss:\",l)\n",
    "\n",
    "\n",
    "        \n",
    "    \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
